<?php


class Check
{
  static public function hasPngExtension($filename = '')
  {
    return 4 < strlen($filename) && '.png' === substr(strtolower($filename), -4) ? true : false;
  }
}
